#ifndef SINGLELIST_H_
#define SINGLELIST_H_

struct ListNode
{
    int data;
    struct ListNode * next;
};


class SingleList
{
    private:
        struct ListNode head;
        struct ListNode * currentNode;
    public:
        SingleList();
        ~SingleList();
        int * addHead(int data);
        int * next();
        void reset();
        bool delTail();
        bool isEmpty();
};

#endif
